<%@ page import="com.conversationboard.model.*" %>
<%@ page import="com.conversationboard.view.*" %>
<%@ page import="com.conversationboard.config.*" %>
<%@ page import="com.conversationboard.model.*" %>
<%@ page import="java.security.Principal" %>
<%@ page import="java.util.*" %>

<%@ page pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8"%>

<%
    Principal principal = request.getUserPrincipal();
 	List<StyleSheet> styleSheets = StyleSheets.getStyleSheetFileNames();
%>


<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<title>Change Style</title>
		<link rel="stylesheet" type="text/css" href="<%=Configuration.getInstance().getRoot()%>/Stylesheets/<%=StyleSheets.getStyleSheetFileName(request.getCookies())%>"/>
	</head>

	<body>
	
		<%= MainMenu.display(principal) %>
	
		<div class="headingblock">
			<h1>Change Style</h1>
		</div>

		<div class="mainblock">
			
			<p>You are currently using style <strong><%=StyleSheets.getStyleSheetFileName(request.getCookies())%></strong> on this computer.</p>
			
			<%= StyleSheetListDisplay.display(styleSheets) %>

		</div>

		<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>-->
		<!--<script type="text/javascript">_uacct = "UA-1148679-1";urchinTracker();</script>--> 

	</body>
	
</html>
